package cn.com.xiaoshoujia.company.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 企业用户相关信息
 * @author YangJing
 * @date 2017年7月12日 上午11:03:32
 */
public class CompanyUser {
    private Long id;

    private String companyName;

    private Long vocation;

    private Long subVocation;

    private String introduction;

    private Long headImageId;

    private Long provinceId;

    private Long cityId;

    private Integer status;

    private String password;

    private BigDecimal balance;

    private BigDecimal usableBalance;

    private Integer accountStatus;

    private Date lastLoginTime;

    private String email;

    private String contact;

    private String manager;

    private String remark;

    private Date createTime;

    private Long creatorId;

    private Integer creatorType;

    private String creator;

    private Date mendTime;

    private Long menderId;

    private Integer menderType;

    private String mender;

    private Integer version;

    private Integer yn;

    private Integer accountType;

    private Integer grantStatus;

    private String token;

    private Long fkEditionId;

    private Integer withdrawalStatus;

    private BigDecimal companyDiscount;

    private String xcode;

    private String companyNickname;

    /**
     * 企业授权网站（必须可用）
     */
    private String site;

    private Byte bindState;

    public Byte getBindState() {
        return bindState;
    }

    public void setBindState(Byte bindState) {
        this.bindState = bindState;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public Long getVocation() {
        return vocation;
    }

    public void setVocation(Long vocation) {
        this.vocation = vocation;
    }

    public Long getSubVocation() {
        return subVocation;
    }

    public void setSubVocation(Long subVocation) {
        this.subVocation = subVocation;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public Long getHeadImageId() {
        return headImageId;
    }

    public void setHeadImageId(Long headImageId) {
        this.headImageId = headImageId;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getUsableBalance() {
        return usableBalance;
    }

    public void setUsableBalance(BigDecimal usableBalance) {
        this.usableBalance = usableBalance;
    }

    public Integer getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Integer accountStatus) {
        this.accountStatus = accountStatus;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getEmail() {
        return email;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact == null ? null : contact.trim();
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager == null ? null : manager.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getCreatorType() {
        return creatorType;
    }

    public void setCreatorType(Integer creatorType) {
        this.creatorType = creatorType;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getMendTime() {
        return mendTime;
    }

    public void setMendTime(Date mendTime) {
        this.mendTime = mendTime;
    }

    public Long getMenderId() {
        return menderId;
    }

    public void setMenderId(Long menderId) {
        this.menderId = menderId;
    }

    public Integer getMenderType() {
        return menderType;
    }

    public void setMenderType(Integer menderType) {
        this.menderType = menderType;
    }

    public String getMender() {
        return mender;
    }

    public void setMender(String mender) {
        this.mender = mender == null ? null : mender.trim();
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getYn() {
        return yn;
    }

    public void setYn(Integer yn) {
        this.yn = yn;
    }

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

    public Integer getGrantStatus() {
        return grantStatus;
    }

    public void setGrantStatus(Integer grantStatus) {
        this.grantStatus = grantStatus;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }

    public Long getFkEditionId() {
        return fkEditionId;
    }

    public void setFkEditionId(Long fkEditionId) {
        this.fkEditionId = fkEditionId;
    }

    public Integer getWithdrawalStatus() {
        return withdrawalStatus;
    }

    public void setWithdrawalStatus(Integer withdrawalStatus) {
        this.withdrawalStatus = withdrawalStatus;
    }

    public BigDecimal getCompanyDiscount() {
        return companyDiscount;
    }

    public void setCompanyDiscount(BigDecimal companyDiscount) {
        this.companyDiscount = companyDiscount;
    }

    public String getXcode() {
        return xcode;
    }

    public void setXcode(String xcode) {
        this.xcode = xcode == null ? null : xcode.trim();
    }

    public String getCompanyNickname() {
        return companyNickname;
    }

    public void setCompanyNickname(String companyNickname) {
        this.companyNickname = companyNickname == null ? null : companyNickname.trim();
    }
}